3 ms·
That seems promising. Would be great to have FIFO and LIFO storage mechanism here like in redis!
by cobalt2760 12y ago
That seems promising. Would be great to have FIFO and LIFO storage mechanism here like in redis!
- nawitus 12y agoWhy do you need a mechanism for that instead of using arrays?
- cobalt2760 12y agoInstead of getting an array from storage, pushing a new item inside and then storing it again, it could be nice to have directly this small mechaniam built in to avoid this logic in the application.
- nawitus 12y agoHmm, that's true. The library could monkey patch .push (etc.), but it wouldn't support setting the property directly with [index] (until Object.observe is mainstream enough).