| |
| Posted by Era Scarecrow in reply to Paul Backus | PermalinkReply |
|
Era Scarecrow
Posted in reply to Paul Backus
| On Saturday, 4 December 2021 at 15:57:41 UTC, Paul Backus wrote:
> On Saturday, 4 December 2021 at 15:31:02 UTC, Era Scarecrow wrote:
> I'm curious if a ported/rewrite of a Reed Solomon library would be wanted/needed in the library? Doing a search i don't see anything specific about adding it.
Seems like a good idea for a dub package. Once you have something working, register it on code.dlang.org and make a post in the Announce forum to let people know.
Oh it's working. I did a basic transition to make it compile in D, then I've been doing more D features and rewriting sections and removing unneeded sections, some which greatly simplifies the code, and some for speedups for knowing what certain calls are doing and working around to avoid unnecessary work.
Though i wonder if the lookup tables (that fit as ubytes) should be ubyte or size_t; And if i should have it pre-calculate the polynomials to free up space in the struct or not (vs calculating them when you change it). The amount of processing isn't that high vs the space it may be taking up.
|