Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6936

Make all byte representations of types comparable by their unsigned byte representation only

    XMLWordPrintableJSON

Details

    Description

      This could be a painful change, but is necessary for implementing a trie-based index, and settling for less would be suboptimal; it also should make comparisons cheaper all-round, and since comparison operations are pretty much the majority of C*'s business, this should be easily felt (see CASSANDRA-6553 and CASSANDRA-6934 for an example of some minor changes with major performance impacts). No copying/special casing/slicing should mean fewer opportunities to introduce performance regressions as well.

      Since I have slated for 3.0 a lot of non-backwards-compatible sstable changes, hopefully this shouldn't be too much more of a burden.

      Attachments

        Issue Links

          Activity

            People

              blambov Branimir Lambov
              benedict Benedict Elliott Smith
              Branimir Lambov, Dimitar Dimitrov, Jacek Lewandowski
              Aleksey Yeschenko, Caleb Rackliffe, Dimitar Dimitrov, Jacek Lewandowski
              Votes:
              1 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 25h
                  25h