Matthew Pope

Results 69 issues of Matthew Pope

If we refactor the repo into a few different gradle subprojects, I think it could make it easier and more convenient to run the tests. Subprojects: * `ion-java` * The...

enhancement

> Note: in my initial prototype I used `secondsScale % 3 != 0 || secondsScale > 9`. Comparing these alternatives, I think it's pretty much a wash. In the common...

ion11

> As an optimization, we could go into the fallback loop branch if `remaining() < numBytes`, then in the short branches we can write directly into the buffer rather than...

See https://github.com/amazon-ion/ion-java/pull/612#discussion_r1362736319

performance
ion11

We could consider adding `public Decimal decimalValue()` to `IonNumber` to support negative zeroes as well. _Originally posted by @tgregg in https://github.com/amzn/ion-java/pull/400#discussion_r789259385_

Attempting to read e.g. an Ion decimal as a Hive/Java double results in a `ClassCastException`. It would be better to have an exception message such as "Expected a double, but...

enhancement

Launching the docker container is slow. It's so much effort to run the integration tests that people will not want to run them. See if it's possible to use a...

enhancement

Here are the inputs that are currently failing to parse. I did some investigation, and it seems like it is parsing the content just fine, but it is failing somewhere...

bug

Sometimes you want to put `Element`s in a set. The available sets in the Rust std lib are `HashSet` (requires `Hash` and `Eq`) and `BTreeSet` (requires `Ord`). Since we do...

enhancement

Application specific code that generates Ion often generates very similar Ion over and over. As an Ion user, it would be nice to have a macro that can evaluate Ion...

enhancement