File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed
Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 925925 end-off (.readLong offsets (inc idx))]
926926 (String. string-data start-off (- end-off start-off))))
927927 str-ary (hamf/object-array n-elems)]
928- (hamf/pgroups n-elems (fn [^long sidx ^long eidx]
929- (loop [idx sidx]
930- (when (< idx eidx)
931- (let [start-off (.readLong offsets idx)
932- end-off (.readLong offsets (inc idx))]
933- (aset str-ary idx (String. string-data start-off (- end-off start-off))))
934- (recur (inc idx))))))
928+ (dorun
929+ (hamf/pgroups n-elems (fn [^long sidx ^long eidx]
930+ (loop [idx sidx]
931+ (when (< idx eidx)
932+ (let [start-off (.readLong offsets idx)
933+ end-off (.readLong offsets (inc idx))]
934+ (aset str-ary idx (String. string-data start-off (- end-off start-off))))
935+ (recur (inc idx)))))))
935936 (StringTable. (ham_fisted.ArrayLists/toList str-ary) nil int-data))
936937 (= version 2 )
937938 (let [^List int->str (dtype-list/wrap-container string-table)
Original file line number Diff line number Diff line change 3737 ^objects rv (make-array String sz)
3838 local-int->str int->str
3939 local-data data]
40- (dorun
41- (hamf/pgroups sz (fn string-table-clone [^long sidx ^long eidx]
42- (loop [sidx sidx]
43- (when (< sidx eidx)
44- (ArrayHelpers/aset rv sidx (.get int->str (.getLong local-data sidx)))
45- (recur (inc sidx)))))))
40+ (dorun (hamf/pgroups sz (fn string-table-clone [^long sidx ^long eidx]
41+ (loop [sidx sidx]
42+ (when (< sidx eidx)
43+ (ArrayHelpers/aset rv sidx (.get int->str (.getLong local-data sidx)))
44+ (recur (inc sidx)))))))
4645 (ArrayLists/toList rv)))
4746 PStrTable
4847 (get-str-table [_this] {:int->str int->str
You can’t perform that action at this time.
0 commit comments