Coder Social home page Coder Social logo

Comments (3)

emanuelpalm avatar emanuelpalm commented on June 17, 2024

I guess an alternative would be to add the possibility of re-sorting an entire index. If I provide one StringComparer the first time the table is instantiated, and then another is provided the next time, then if the table index would be re-sorted then that would also be great.

from lex.db.

demigor avatar demigor commented on June 17, 2024

Lex.DB cannot preserve the exact comparer used to create an index. So automatic resorting is basically not possible.

What probably is the easiest solution it is to provide index resorting methods.

From: Emanuel Palm [mailto:[email protected]]
Sent: Monday, 21 December 2015 10:37 AM
To: demigor/lex.db [email protected]
Subject: Re: [lex.db] Feature request: Sorting index-query results by index key. (#36)

I guess an alternative would be to add the possibility of re-sorting an entire index. If I provide one StringComparer the first time the table is instantiated, and then another is provided the next time, then if the table index would be re-sorted then that would also be great.


Reply to this email directly or view it on GitHub #36 (comment) . https://github.com/notifications/beacon/ACo4ISxeBAlLuraSpA-bG4eSF9YSwwCqks5pR7-kgaJpZM4G5GAe.gif

from lex.db.

emanuelpalm avatar emanuelpalm commented on June 17, 2024

👍 Index resorting would be great. Thanks for quick reply, btw.

Is this something you feel you could easily throw together? Otherwise if you could give me a few hints about which classes I would need to update, I could probably start working on a PR sometime in January.

from lex.db.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.