Dave Hoover
bcbe163a12
Prune unneeded imports, nuke some unneeded casts, rerun code generators.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@687 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-28 17:27:38 +00:00
Tom Conkling
6f8a1e0db0
- Created SetStat<T> generic type
...
- IntSetStat and StringSetStat extend SetStat
- consolidated SetStat-related functions in StatSet, and added StatSet.getSetStatSize()
- she sells SetStat StatSets by the seashore
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@683 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-25 22:48:13 +00:00
Michael Bayne
32cec9c7d7
Blank line patrol.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@679 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-25 09:59:07 +00:00
Tom Conkling
25a657d7c6
apparently we already have a StreamableArrayIntSet; use that instead.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@676 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-24 20:11:41 +00:00
Tom Conkling
3c3146d381
fix IntSetStat so that it streams properly. i'm not able to test this code on my machine, so nate will test momentarily and we'll roll back if there are any issues.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@675 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-24 19:49:13 +00:00
Michael Bayne
faa237b85d
Use an ArrayIntSet instead of a HashSet<Integer> as it's way more memory
...
efficient (and almost certainly faster as well for sets of this size).
Modified add() to properly mark the stat as modified when it changes.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@668 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-18 13:21:15 +00:00
Michael Bayne
d65967c57e
Added class documentation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@666 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-18 12:37:16 +00:00
Tom Conkling
701eea2ad2
clarity
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@664 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-17 23:23:21 +00:00
Tom Conkling
cf1779e8b8
ray points out that IntSetStat's size can also, of course, be stored in a byte
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@660 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-16 20:47:25 +00:00
Tom Conkling
8f12cff519
per mdb, IntSetStat will store a maximum of 255 entries
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@659 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-16 20:27:17 +00:00
Tom Conkling
43df45be1a
IntStatSet fixes
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@658 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-15 20:57:01 +00:00
Tom Conkling
007bdc91c8
created IntSetStat
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@657 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-15 20:26:26 +00:00