Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v4] Allow indexing lists #83

Open
CaptainDario opened this issue May 13, 2024 · 0 comments
Open

[v4] Allow indexing lists #83

CaptainDario opened this issue May 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@CaptainDario
Copy link

CaptainDario commented May 13, 2024

Is your feature request related to a problem? Please describe.
Isar v3 allowed indexing lists which was important to me because performance could be dramatically increased by using it.

However, when I try using a List that has an index in v4 I encounter

List properties cannot be indexed
package:database_builder/src/tatoeba_to_isar/data_classes.dart:43:16
   ╷
43 │   List<String> mecabBaseForms;
   │                ^^^^^^^^^^^^^^
   │

Describe the solution you'd like
Allow indexing lists in v4

Describe alternatives you've considered
Do not use indexes for lists.
However, before migrating my whole code base I would like to know if this has severe impacts on performance?

Version

  • Isar v4
@CaptainDario CaptainDario added the enhancement New feature or request label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant