External library with optimized RDD operations for Apache Spark