Accelerating Code Search with Deep Hashing and Code Classification

03/29/2022
by   Wenchao Gu, et al.
0

Code search is to search reusable code snippets from source code corpus based on natural languages queries. Deep learning-based methods of code search have shown promising results. However, previous methods focus on retrieval accuracy but lacked attention to the efficiency of the retrieval process. We propose a novel method CoSHC to accelerate code search with deep hashing and code classification, aiming to perform an efficient code search without sacrificing too much accuracy. To evaluate the effectiveness of CoSHC, we apply our method to five code search models. Extensive experimental results indicate that compared with previous code search baselines, CoSHC can save more than 90 retrieval time meanwhile preserving at least 99

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/17/2016

Variable-Length Hashing

Hashing has emerged as a popular technique for large-scale similarity se...
research
11/02/2021

Classification of Goods Using Text Descriptions With Sentences Retrieval

The task of assigning and validating internationally accepted commodity ...
research
03/24/2021

deGraphCS: Embedding Variable-based Flow Graph for Neural Code Search

With the rapid increase in the amount of public code repositories, devel...
research
02/02/2021

NBSearch: Semantic Search and Visual Exploration of Computational Notebooks

Code search is an important and frequent activity for developers using c...
research
11/05/2021

DeSkew-LSH based Code-to-Code Recommendation Engine

Machine learning on source code (MLOnCode) is a popular research field t...
research
05/29/2020

Simplifying Deep-Learning-Based Model for Code Search

To accelerate software development, developers frequently search and reu...
research
12/15/2022

Writer Retrieval and Writer Identification in Greek Papyri

The analysis of digitized historical manuscripts is typically addressed ...

Please sign up or login with your details

Forgot password? Click here to reset