Lua面对对象及属性的实现

-- class.lua-- Compatible with Lua 5.1 (not 5.0).function class(base, init) local c = {} -- a new class instance if not init and type(base) == 'function' then init = base base =

- 阅读全文 -

常用图片资源压缩信息

图片资源压缩信息1024x1024的内存占用RGBA32RGBA16PVRTCAlpha8ASTC4M2M0.5M1M0.6M(5x5)ASTC的压缩信息ASTC block sizeSizeCompression ratio4x41 MB4.005x5655 KB6.256x6455 KB9.008x8256 KB16.0010x10164 KB24.9712x12144 KB35.93可选方案

- 阅读全文 -

Cowboy 2.7 User Guide文档翻译

Rationale现代网络(The modern Web)Erlang and the WebIntroductionIntroductionGetting startedFlow diagramConfigurationListenersRoutingConstraintsHandlersHandlersLoop handlersStatic filesRequest and responseR

- 阅读全文 -