Faster XML stream processing in Go
XML processing was all the rage 15 years ago; while it's less
prominent these days, it's still an important task in some application domains.
In this post I'm going to compare the speed of stream-processing huge XML files
in Go, Python and C and finish up with a new, minimal module that uses C to
accelerate this task for Go. All the code shown throughout this post is
available in this GitHub repository the new
Go module is here.
What does XML stream processing mean?
First, let's define the probl...
Read more at eli.thegreenplace.net