Kroppeb

Results 37 comments of Kroppeb

Seems like this is still an open issue?

@AIRTEspresso Do you have a way to generate random java code samples?

https://stackoverflow.com/questions/22429854/huffman-code-for-a-single-character

I don't like the solution of using 1 bit to encode the solution. Mostly cause it makes the Kotlin implementation more complex than I feel it needs to be.

> The way I see it, while making an encoding edge case where the codebook indicates "this string has only the letter A" and the bitstring instead encodes the amount...

> For the simplified version of the algorithm that is _actually described in the chapter,_ the correct behavior would be: > > * An empty string should be encoded with...

With > NavigableSet/Navigable map; this is huge. I'm assuming you mean #33 If so that would be very nice =). Has quite surprised to see those methods were missing.

Is this still on the road map?

Interesting the link constant remains a `InterfaceMethodRef` resulting in the jvm failing to load the class (on fabric at least)

Seems like the issue might be here: [MixinTargetContext.java#L570-L576](https://github.com/SpongePowered/Mixin/blob/72d0812084ff2b223f8c11def18158bfa4ad4421/src/main/java/org/spongepowered/asm/mixin/transformer/MixinTargetContext.java#L570-L576) It doesn't check whether the "methodRef" is on a class or on an interface