friend IoTString *IoTString_shallow(Array<char> *_array);
};
-IoTString *IoTString_shallow(Array<char> *_array) {
+inline IoTString *IoTString_shallow(Array<char> *_array) {
IoTString *str = new IoTString();
str->array = _array;
return str;
*/
SlotIndexer::SlotIndexer(Array<Slot *> *_updates, SlotBuffer *_buffer) :
- buffer(_buffer),
updates(_updates),
+ buffer(_buffer),
firstslotseqnum(updates->get(0)->getSequenceNumber()) {
}
* for SKIP_THRESHOLD consecutive entries*/
int skipcount = 0;
int64_t newestseqnum = buffer->getNewestSeqNum();
-search:
for (; seqn <= newestseqnum; seqn++) {
Slot *prevslot = buffer->getSlot(seqn);
//Push slot number forward