I have an Excel Sheet with about 4500 checkboxes (I know, it sounds stupid, but it is for a customer, please do not ask...). Just wrote the VBA Sub below to uncheck all the boxes together. So far it works, but it is terribly slow, it takes more than 5...

## Why are Python operations 30× slower after calling time.sleep or subprocess.Popen?

Consider the following loop:“command 2” command takes systematically longer to run when “command 1” is run before it. The following plot shows the execution time of 1+1 as a function of the loop index i, averaged over 100 runs.

## Filter large list object on data from another large list: slow performance

I have two large lists of object. First (about of 1 000 000 objects):Second (about of 20 000 objects):

## Efficient way to find divisibility

Professor says this isn't a efficient algorithm to check whether the number is divisible by a number from 100,000-150,000. I'm having trouble finding a better way. Any help would be appreciated.

## Step left rows values until not null in python

I have to handle a huge amount of data. Every row starts with 1 or 0. I need a dataframe where every rows start with 1, so I have to step left all rows values till the first value is 1.

## Is it ok to include .c source file for maintainability of embedded C code?

I am not an expert C programmer and I know that including .c source file from another is considered bad practice, but I have a situation where I think it could help maintainability.

## Performance of Pandas apply vs np.vectorize to create new column from existing columns

I am using Pandas dataframes and want to create a new column as a function of existing columns. I have not seen a good discussion of the speed difference between df.apply() and np.vectorize(), so I thought I would ask here.

## List files that contain `n` or fewer lines

In a folder, I would like to print the name of every .txt files that contain n=27 lines or fewer lines. I could do

## Find equal rows between two Matlab matrices

I have a matrix index in Matlab with size GxN and a matrix A with size MxN. Let me provide an example before presenting my question.

## Creating a mask with N least significant bits set

I would like to create a macro or function1 mask(n) which given a number n returns an unsigned integer with its n least significant bits set. Although this seems like it should be a basic primitive with heavily discussed implementations which compile efficiently - this doesn't seem to be the...