Please remove this restriction "serialized custom data must be under 100 bytes"

I am writing a custom scheduling to use on anki
some custom data is very long

e.g.,
customData.easy.a = x…x
when the “x…x” is long enough, the restriction will start to work

please remove this restriction “serialized custom data must be under 100 bytes”, since this restriction does not make much sense
thanks a lot

I am writing a custom scheduling to use on anki
some custom data keys are very long

e.g.,
customData.easy.x…x = …
when the “x…x” is long enough, the restriction will start to work

please remove this restriction “custom data keys must be <= 8 bytes”, since this restriction does not make much sense
while with this restriction, it would be much more difficult to write the custom scheduling
thanks a lot

Storing large values in the cards table will make Anki slow. You’ll need to either work within the provided limits, or store the data externally.

could you tell me the where is code of the restrictions?
I want to edit it and compile the anki by myself to have a try, maybe it will not be very slow
2.
how to “store the data externally”?
could this solution be fulfilled on the iOS devices?

thanks

I have tried to search “serialized custom data must be under 100 bytes” on github, but find nothing

Given that it’s custom scheduling, and people are already taking a risk, is it worth it to put restrictions like these? Besides, computing is getting better and better everyday, so the thresholds now might not always make sense.

You are welcome to build your own version, but you’ll need to stick within the limits if you want to use this on iOS. You can create code to (de)serialize your values into small keys/values, so only the code that deals with (de)serialization needs to deal with them.

If I didn’t think it was worth it, I wouldn’t have gone to the trouble of adding them.

4 Likes