{"id":175,"date":"2020-01-24T22:25:49","date_gmt":"2020-01-24T14:25:49","guid":{"rendered":"https:\/\/blog.indeex.club\/?p=175"},"modified":"2020-06-20T23:24:12","modified_gmt":"2020-06-20T15:24:12","slug":"%e5%af%b9%e8%b1%a1%e6%b1%a0","status":"publish","type":"post","link":"https:\/\/blog.indeex.club\/index.php\/2020\/01\/24\/%e5%af%b9%e8%b1%a1%e6%b1%a0\/","title":{"rendered":"\u5bf9\u8c61\u6c60"},"content":{"rendered":"<hr \/>\n<h3>\u5bf9\u8c61\u6c60\u4ecb\u7ecd<\/h3>\n<p>\u770b\u767e\u5ea6\u767e\u79d1\u7684\u5bf9\u8c61\u6c60\u4ecb\u7ecd\u5427\uff1a <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/baike.baidu.com\/item\/%E5%AF%B9%E8%B1%A1%E6%B1%A0\/4747589\">\u5bf9\u8c61\u6c60<\/a>  \u6ca1\u5565\u7528\u3002<\/p>\n<p>\u4fe9\u6838\u5fc3\uff1a\u4f7f\u7528\u548c\u7f13\u5b58\uff0c\u5373\u5bf9\u4e8e\u90a3\u4e9b\u88ab\u9891\u7e41\u4f7f\u7528\u7684\u5bf9\u8c61\uff0c\u5728\u4f7f\u7528\u5b8c\u540e\uff0c\u4e0d\u7acb\u5373\u5c06\u5b83\u4eec\u91ca\u653e\uff0c\u800c\u662f\u5c06\u5b83\u4eec\u7f13\u5b58\u8d77\u6765\uff0c\u4ee5\u4f9b\u540e\u7eed\u7684\u5e94\u7528\u7a0b\u5e8f\u91cd\u590d\u4f7f\u7528\uff0c\u4ece\u800c\u51cf\u5c11\u521b\u5efa\u5bf9\u8c61\u548c\u91ca\u653e\u5bf9\u8c61\u7684\u6b21\u6570\uff0c\u8fdb\u800c\u6539\u5584\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u3002<\/p>\n<p>\u518d\u5177\u4f53\u4e00\u70b9\u8bf4\uff1a\u51e1\u662f\u6d89\u53ca\u5230\u4e0d\u65ad\u91cd\u590d\u4f7f\u7528\u7684\u5bf9\u8c61\uff0c\u5728\u521d\u59cb\u5316\u5e94\u7528\u7a0b\u5e8f\u671f\u95f4\u521b\u5efa\u4e00\u5b9a\u6570\u91cf\u7684\u5bf9\u8c61\u5e76\u5c06\u5176\u5b58\u50a8\u5728\u4e00\u4e2a\u6c60\u4e2d\uff0c\u4f8b\u5982 new Array \u6216 new Vector\uff08\u5176\u4ed6ECMAScript\u5b9e\u73b0\u7684Single Type\u6570\u7ec4\uff09\u5bf9\u8c61\u3002\u5bf9\u4e00\u4e2a\u5bf9\u8c61\u5b8c\u6210\u64cd\u4f5c\u540e\uff0c\u505c\u7528\u8be5\u5bf9\u8c61\u4ee5\u514d\u5b83\u5360\u7528 CPU\u8d44\u6e90\uff0c\u7136\u540e\u5220\u9664\u6240\u6709\u76f8\u4e92\u5f15\u7528\u3002\u4f46\u662f\uff0c\u4e0d\u8981\u5c06\u5f15\u7528\u8bbe\u7f6e\u4e3anull\uff0c\u5426\u5219\u4f1a\u88abGC\u6389\u3002\u53ea\u9700\u628a\u8be5\u5bf9\u8c61\u653e\u56de\u5230\u5bf9\u8c61\u6c60\u4e2d\uff0c\u5728\u9700\u8981\u65b0\u5bf9\u8c61\u65f6\u5bf9\u5176\u8fdb\u884c\u68c0\u7d22\u3002<\/p>\n<p>\u91cd\u7528\u4f7f\u7528\u5bf9\u8c61\u53ef\u51cf\u5c11\u5b9e\u4f8b\u5316\u5bf9\u8c61\u7684\u9700\u6c42\uff0c\u5b9e\u4f8b\u5316\u5bf9\u8c61\u7684\u6210\u672c\u662f\u5f88\u9ad8\u7684\u3002\u8fd8\u53ef\u4ee5\u51cf\u5c11\u5783\u573e\u56de\u6536\u5668\u8fd0\u884c\u7684\u6b21\u6570\uff0c\u4ece\u800c\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u8fd0\u884c\u901f\u5ea6\u3002<\/p>\n<h3>\u5bf9\u8c61\u6c60\u4f18\u7f3a\u70b9<\/h3>\n<p>\u4f18\u70b9\uff1a\u80fd\u5feb\u901f\u53d6\u51fa\u5bf9\u8c61\u8282\u7701\u4e86 new \u5bf9\u8c61\u6240\u4ea7\u751f\u7684cpu\u3001\u65f6\u95f4\u7684\u6d88\u8017\u3002\u80fd\u5f88\u597d\u7684\u63a7\u5236\u5185\u5b58\u7684\u5360\u7528\uff0c\u4f7f\u7528\u65f6\u4ece\u5bf9\u8c61\u6c60\u53d6\u51fa\uff0c\u4f7f\u7528\u5b8c\u6bd5\u653e\u56de\u3002\u4e2d\u95f4\u4e0d\u6d89\u53ca\u5230\u5bf9\u8c61\u9500\u6bc1\u521b\u5efa\uff0c\u6240\u4ee5\u5185\u5b58\u5360\u7528\u662f\u5b9a\u91cf\u7684\u3002<\/p>\n<p>\u7f3a\u70b9\uff1a\u5bf9\u8c61\u6c60\u540c\u6837\u6d88\u8017 new \u540c\u6837\u5bf9\u8c61\u6240\u6d88\u8017\u7684\u65f6\u95f4\uff0c\u5bf9\u8c61\u6c60\u4ece\u521b\u5efa\u5230\u7ed3\u675f\u6d88\u8017\u5b9a\u91cf\u7684\u5185\u5b58\u3002\u5bf9\u8c61\u6c60\u53ea\u9002\u5408\u5927\u91cf\u7684\u5bf9\u8c61\u9700\u8981\u88ab\u91cd\u590d\u521b\u5efa\u4f7f\u7528\u9500\u6bc1\u521b\u5efa\u4f7f\u7528\u9500\u6bc1\u7684\u60c5\u51b5\u3002\u975e\u63d0\u524d\u521d\u59cb\u5316\u5f0f\u5185\u5b58\u6c60\uff0c\u7f13\u5b58ECMAScript\u53ca\u5176\u5b9e\u73b0\u7684\u503c\u7c7b\u578b\u7684\u5bf9\u8c61\u3002<\/p>\n<h3>\u4f7f\u7528\u573a\u666f<\/h3>\n<p>\u5047\u8bbe\u9ec4\u91d1\u77ff\u5de5\u7c7b\u9700\u8981\u91cd\u590d\u521b\u5efa\u548c\u9500\u6bc1\u5bf9\u8c61\u7684\u6e38\u620f\u573a\u666f\u4e2d\uff0c\u73a9\u5bb6\u70b9\u51fb\u5c4f\u5e55\uff0c\u94a9\u5b50\u6293\u53d6\u91d1\u5757\uff0c\u91d1\u5757\u88ab\u6293\u53d6\u540e\u6d88\u5931\uff0c\u6b64\u65f6\uff0c\u4ee3\u7801 <em>gold.dispose(); gold = null;<\/em>\uff0c \u91d1\u5757\u6d88\u5931\u540e\u51fa\u73b0\u65b0\u7684\u91d1\u5757\uff0c\u4ee3\u7801 <em>var gold:Gold = new Gold(); addChild(gold);<\/em>\u3002\u5982\u679c\u73a9\u5bb6\u4e0d\u505c\u5730\u70b9\u51fb\uff0c\u5047\u8bbe\u94a9\u5b50\u5f88\u5feb\uff0c\u91d1\u5757\u53ef\u4ee5\u4e0d\u505c\u7684new Gold(),\u8fd9\u65f6\u5f88\u8d39\u65f6\u548c\u6d88\u8017\u7cfb\u7edf\u6027\u80fd\uff0c\u5047\u8bbenew Gold()\u6d88\u8017\u4e862KB\u5185\u5b58\uff0c\u73a9\u5bb6\u75af\u72c2\u70b9\u4e00\u5343\u6b21\uff0c\u90a3\u4e48Gold\u7c7b\u5c31\u4e0d\u65ad\u5730\u521b\u5efa\uff0c\u6e05\u9664\uff0c\u521b\u5efa\uff0c\u6e05\u9664\uff0c\u90a3\u4e48\u6e38\u620f\u5185\u5b58\u76f4\u63a5\u589e\u52a01000*2kb\uff0c\u56e0\u4e3aECMAScript\u662f\u6258\u7ba1\u7684GC\u6e05\u7406\u8d44\u6e90\uff0c\u5177\u4f53\u4ec0\u4e48\u65f6\u5019\u6e05\u7406\u53ea\u6709GC\u77e5\u9053\uff0c\u90a3\u4e48\u9879\u76ee\u7684\u6027\u80fd\u5c31\u8d8a\u6765\u8d8a\u5361\u3001\u53d1\u70eb\u3001\u751a\u81f3Crash\u3002<\/p>\n<p>\u867d\u7136\u4f8b\u5b50\u4e0d\u591f\u597d\uff0c\u77e5\u9053\u610f\u601d\u5c31\u597d\ud83d\ude04<\/p>\n<h3>\u5b9e\u73b0\u903b\u8f91<\/h3>\n<p>\u8981\u5b9e\u73b0\u4e00\u4e2a\u5bf9\u8c61\u6c60\uff0c\u4e00\u822c\u4f1a\u6d89\u53ca\u81f3\u5c11\u4e24\u4e2a\u7c7b\uff1a<\/p>\n<p>\u76ee\u6807\u5bf9\u8c61\u7c7b\uff1a\u8be5\u7c7b\u5c31\u662f\u7a0b\u5e8f\u4e2d\u9891\u7e41\u4f7f\u7528\u7684\u5bf9\u8c61\u3002<\/p>\n<p>\u5bf9\u8c61\u6c60\u7c7b\uff1a\u8be5\u7c7b\u4e3b\u8981\u7528\u4e8e\u7ba1\u7406\u5bf9\u8c61\u7684\u501f\u51fa\u548c\u5f52\u8fd8\uff0c\u5e76\u901a\u77e5\u5bf9\u8c61\u6c60\u5b8c\u6210\u76f8\u5e94\u7684\u5de5\u4f5c\u3002\u5b83\u81f3\u5c11\u9700\u8981\u6709\u4e24\u4e2a\u65b9\u6cd5\uff1a<\/p>\n<p>\u3000 borrowObject()\uff1a\u7528\u4e8e\u4ece\u6c60\u4e2d\u501f\u51fa\u5bf9\u8c61\uff1b<\/p>\n<p>\u3000 returnObject()\uff1a\u5c06\u5bf9\u8c61\u5f52\u8fd8\u5230\u6c60\u4e2d\uff1b<\/p>\n<h3>\u4e3b\u8981\u903b\u8f91<\/h3>\n<p>\u4ee5\u4e0b\u662f\u4e3b\u8981\u903b\u8f91\uff0c\u7981\u6b62\u5728\u9879\u76ee\u4e2d\u76f4\u63a5\u4f7f\u7528\uff1a<\/p>\n<pre><code class=\"language-javascript line-numbers\">public class ObjectPool {\n\n    private static var pool:Dictionary = new Dictionary(true);\n    private var template:Class;\n    private var list:Array;\n\n    public function ObjectPool(value:Class) {\n        template = value;\n        list = new Array();\n    }\n\n    public function borrowObject():Object {\n        if (list.length &gt; 0) {\n            return list.shift();\n        }\n        return new template();\n    }\n\n    public function returnObject(value:Object):void {\n        list.push(value);\n    }\n\n    public static function getPool(value:Class):ObjectPool {\n        if (!pool[value]) {\n            pool[value] = new ObjectPool(value);\n        }\n        return pool[value];\n    }\n}\n<\/code><\/pre>\n<p>\u63a5\u4e0b\u6765\uff0c\u5177\u4f53\u5b9e\u73b0\u4e00\u4e2a\u663e\u793a\u5bf9\u8c61\u7684\u5bf9\u8c61\u6c60\uff1a<\/p>\n<blockquote><p>\n  \u9996\u5148\uff0c<strong>\u5bf9\u8c61\u6c60\u9760\u5355\u4f8b\u83b7\u53d6<\/strong><br \/>\n  <strong>\u5f00\u59cb\u65f6<\/strong>\uff1a\u76f4\u63a5\u7ed9\u6c60\u4e00\u5b9a\u91cf\u7684\u5bf9\u8c61<br \/>\n  <strong>\u4f7f\u7528\u65f6<\/strong>\uff1a\u4ece objectPool \u91cc borrow \u4e00\u4e2a<br \/>\n  <strong>\u5f52\u8fd8\u65f6\uff08\u91ca\u653e\uff09<\/strong>\uff1areturn \u5b83\u5230 objectPool \u4e2d\u53bb<br \/>\n  <strong>\u5b8c\u5168\u91ca\u653e<\/strong>\uff1a\u5bf9\u8c61\u6c60\u59cb\u7ec8\u5f15\u7528Sprite\u5bf9\u8c61\u3002\u5982\u679c\u8981\u4ece\u5185\u5b58\u4e2d\u5b8c\u5168\u5220\u9664\u5bf9\u8c61\uff0c\u9700\u8981\u5bf9 SpritePool\u7c7b\u4f7f\u7528dispose()\u65b9\u6cd5\uff0c\u4ece\u800c\u5220\u9664\u6240\u6709\u5269\u4f59\u5f15\u7528\u3002\u6240\u6709\u51c6\u5907\u653e\u5165\u5bf9\u8c61\u6c60\u7684\u5bf9\u8c61\u90fd\u9700\u8981\u7ee7\u627f\u81eaIPool\u63a5\u53e3<br \/>\n  <strong>IPool<\/strong> \u63a5\u53e3\u9700\u8981\u5b9e\u73b0\uff1areset()\u65b9\u6cd5\u3001dispose()\u65b9\u6cd5<br \/>\n  <strong>reset()<\/strong>:\u91cd\u7f6e\u5bf9\u8c61\u7684\u65b9\u6cd5\uff0c\u5fc5\u987b\u3002\u5f53\u5f88\u591a\u663e\u793a\u5bf9\u8c61 return \u7684\u65f6\u5019\u90fd\u8981\u88ab\u91cd\u7f6e<br \/>\n  <strong>\u91cd\u7f6e<\/strong>\u9700\u8981\uff1a\u5bf9\u5df2\u7ecf\u586b\u5145\u7684\u6570\u636e\u6062\u590d\u9ed8\u8ba4\uff0c\u6bd4\u5982\u5bf9\u6062\u590d\u52a8\u753b\u7684\u9ed8\u8ba4\u72b6\u6001<br \/>\n  <strong>dispose()<\/strong>:\u8be5\u63a5\u53e3\u4e3b\u8981\u662f\u5728\u5f7b\u5e95\u9500\u6bc1\u5bf9\u8c61\u6c60\u65f6\u9700\u8981\u628a\u5bf9\u8c61\u6c60\u91cc\u7684\u5143\u7d20\u90fd\u9500\u6bc1\uff0c\u6bcf\u4e2a\u5143\u7d20\u53ef\u80fd\u4f1a\u5728dispose\u91cc\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4\uff1a<br \/>\n  1. removeEventListener<br \/>\n  2. BitmapData.dispose();<br \/>\n  3. delete object<br \/>\n  4. stopMovieOrSound\n<\/p><\/blockquote>\n<ol>\n<li>IPoolItem \u63a5\u53e3\u7c7b<\/li>\n<\/ol>\n<pre><code class=\"language-javascript line-numbers\">package cc.indeex.interfaces {\n    \/**\n     * @author indeex\n     *\/\n    public interface IPoolItem {\n        function reset():void;\n        function dispose():void;\n    }\n}\n<\/code><\/pre>\n<ol start=\"2\">\n<li>ObjectPoolManager \u5bf9\u8c61\u6c60\u7ba1\u7406\u7c7b<\/li>\n<\/ol>\n<pre><code class=\"language-javascript line-numbers\">package cc.indeex.manager {\n    import cc.indeex.data.HashMap;\n    import cc.indeex.interfaces.IPoolItem;\n\n    import utils.getDefinitionByName;\n\n    public class ObjectPoolManager {\n        private var pools:HashMap = new HashMap();\n\n        public function initPool(classType:String, maxSize:int):void {\n            if (pools.containsKey(classType))\n                return;\n            var itemAry:Array = [];\n            pools.add(classType, itemAry);\n            var cls:Class = getDefinitionByName(classType) as Class;\n            for (var i:int = 0; i &lt; maxSize; i++) {\n                itemAry.push(new cls());\n            }\n        }\n\n        public function returnItem(classType:String, item:IPoolItem):void {\n            if (!pools.containsKey(classType)) {\n                throw new Error(\"Not find\uff1a\" + classType + \" pool\");\n                return;\n            }\n            item.reset();\n            (pools.getValue(classType) as Array).push(item);\n        }\n\n        public function borrowItem(classType:String):IPoolItem {\n            if (!pools.containsKey(classType)) {\n                throw new Error(\"Not find\uff1a\" + classType + \" pool\");\n                return;\n            }\n            if ((pools.getValue(classType) as Array).length == 0) {\n                throw new Error(\"The Pool\uff1a\" + classType + \" is full\uff0cNeed expand\");\n                return;\n            }\n            return (pools.getValue(classType) as Array).pop();\n        }\n\n        public function disposePool(classType:String):void {\n            if (!pools.containsKey(classType))\n                return;\n            var itemAry:Array = pools.getValue(classType) as Array;\n            for (var i:int = 0; i &lt; itemAry.length; i++) {\n                (itemAry[i] as IPoolItem).dispose();\n            }\n            itemAry = null;\n            pools.remove(classType);\n        }\n\n        public function ObjectPoolManager(_sig:Sig) {\n        }\n        private static var _instance:ObjectPoolManager;\n\n        public static function getInstance():ObjectPoolManager {\n            if (!_instance)\n                _instance = new ObjectPoolManager(new Sig());\n            return _instance;\n        }\n    }\n}\n\nfinal class Sig {\n}\n<\/code><\/pre>\n<ol start=\"3\">\n<li>HashMap \u57fa\u7840\u54c8\u5e0c\u8868<\/li>\n<\/ol>\n<pre><code class=\"language-javascript line-numbers\">package cc.indeex.data {\n    import utils.Dictionary;\n\n    public class HashMap {\n        private var length:int;\n        private var content:Dictionary;\n        private var weakKeys:Boolean;\n\n        public function HashMap(weakKeys:Boolean = false) {\n            weakKeys = weakKeys;\n            length = 0;\n            content = new Dictionary(weakKeys);\n        }\n\n        public function get length():int {\n            return length;\n        }\n\n        public function isEmpty():Boolean {\n            return length == 0;\n        }\n\n        public function getKeys():Array {\n            var temp:Array = new Array(length);\n            var index:int = 0;\n            var i:*;\n            for (i in content) {\n                temp[index] = i;\n                index++;\n            }\n            return temp;\n        }\n\n        public function getValues():Array {\n            var temp:Array = new Array(length);\n            var index:int = 0;\n            var i:*;\n            for each (i in content) {\n                temp[index] = i;\n                index++;\n            }\n            return temp;\n        }\n\n        public function eachKey(func:Function):void {\n            var i:*;\n            for (i in content) {\n                func(i);\n            }\n        }\n\n        public function eachValue(func:Function):void {\n            var i:*;\n            for each (i in content) {\n                func(i);\n            }\n        }\n\n        public function each2(func:Function):void {\n            var i:*;\n            for (i in content) {\n                func(i, content[i]);\n            }\n        }\n\n        public function containsValue(value:*):Boolean {\n            var i:*;\n            for each (i in content) {\n                if (i === value) {\n                    return true;\n                }\n            }\n            return false;\n        }\n\n        public function some(func:Function):Boolean {\n            var i:*;\n            for (i in content) {\n                if (func(i, content[i])) {\n                    return true;\n                }\n            }\n            return false;\n        }\n\n        public function filter(func:Function):Array {\n            var arr:Array = [];\n            var i:*;\n            var v:*;\n            for (i in content) {\n                v = content[i];\n                if (func(i, v)) {\n                    arr.push(v);\n                }\n            }\n            return arr;\n        }\n\n        public function containsKey(key:*):Boolean {\n            if (content[key] === undefined) {\n                return false;\n            }\n            return true;\n        }\n\n        public function getValue(key:*):* {\n            var value:* = content[key];\n            return value === undefined ? null : value;\n        }\n\n        public function getKey(value:*):* {\n            var i:*;\n            for (i in content) {\n                if (content[i] == value) {\n                    return i;\n                }\n            }\n            return null;\n        }\n\n        public function add(key:*, value:*):* {\n            if (key == null) {\n                throw new ArgumentError(\"cannot put a value with undefined or null key!\");\n                return null;\n            }\n            if (value === undefined) {\n                return null;\n            } else {\n                if (content[key] === undefined) {\n                    length++;\n                }\n                var oldValue:* = getValue(key);\n                content[key] = value;\n                return oldValue;\n            }\n        }\n\n        public function remove(key:*):* {\n            if (content[key] === undefined) {\n                return null;\n            }\n            var temp:* = content[key];\n            delete content[key];\n            length--;\n            return temp;\n        }\n\n        public function clear():void {\n            length = 0;\n            content = new Dictionary(weakKeys);\n        }\n\n        public function clone():HashMap {\n            var temp:HashMap = new HashMap(weakKeys);\n            var i:*;\n            for (i in content) {\n                temp.add(i, content[i]);\n            }\n            return temp;\n        }\n\n        public function toString():String {\n            var ks:Array = getKeys();\n            var vs:Array = getValues();\n            var len:int = ks.length;\n            var temp:String = \"HashMap Content:\\n\";\n            var i:int;\n            for (i = 0; i &lt; len; i++) {\n                temp += ks[i] + \" -&gt; \" + vs[i] + \"\\n\";\n            }\n            return temp;\n        }\n    }\n\n}\n<\/code><\/pre>\n<p>\u8fd9\u4e48\u901a\u4fd7\uff0c\u4e0d\u9700\u8981\u6ce8\u91ca\u4e86\u2795\u2796\u2797\u2716\ufe0f<\/p>\n<p>code enjoy! \ud83d\ude04\ud83d\ude04\ud83d\ude01<\/p>\n<p>\u4f5c\u8005\uff1aindeex<\/p>\n<p>\u94fe\u63a5\uff1a<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/indeex.cc\/\">https:\/\/indeex.cc<\/a><\/p>\n<p>\u8457\u4f5c\u6743\u5f52\u4f5c\u8005\u6240\u6709\u3002\u5546\u4e1a\u8f6c\u8f7d\u8bf7\u8054\u7cfb\u4f5c\u8005\u83b7\u5f97\u6388\u6743\uff0c\u975e\u5546\u4e1a\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904\u3002<\/p>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>\u5bf9\u8c61\u6c60\u4ecb\u7ecd \u770b\u767e\u5ea6\u767e\u79d1\u7684\u5bf9\u8c61\u6c60\u4ecb\u7ecd\u5427\uff1a \u5bf9\u8c61\u6c60 \u6ca1\u5565\u7528\u3002 \u4fe9\u6838\u5fc3\uff1a\u4f7f\u7528\u548c\u7f13\u5b58\uff0c\u5373\u5bf9\u4e8e\u90a3\u4e9b\u88ab\u9891\u7e41\u4f7f\u7528\u7684<a href=\"https:\/\/blog.indeex.club\/index.php\/2020\/01\/24\/%e5%af%b9%e8%b1%a1%e6%b1%a0\/\" class=\"read-more\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[4],"_links":{"self":[{"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/posts\/175"}],"collection":[{"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/comments?post=175"}],"version-history":[{"count":1,"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/posts\/175\/revisions"}],"predecessor-version":[{"id":180,"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/posts\/175\/revisions\/180"}],"wp:attachment":[{"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/media?parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/categories?post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.indeex.club\/index.php\/wp-json\/wp\/v2\/tags?post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}